package com.concurrency.synchronize;

/**
 * 使用static标识唯一的对象。测试并发。
 * @author David
 *
 */
public class User extends Thread{
	static PositionSingleService service = new PositionSingleService();

	public void run(){
//		PositionListService service = new PositionListService(Thread.currentThread().getName());

		
		service.add(Thread.currentThread().getName());
	}
}
